package day6;

import java.util.Calendar;

/**
 * @author oldliu
 * @since 1.0
 */
public class NationalDay {
    public static void main(String[] args) {
        Calendar cal= Calendar.getInstance();
        System.out.println(cal.get(Calendar.WEEK_OF_YEAR));
        //cal.set(2022,5,26);
        System.out.println(cal.get(Calendar.DAY_OF_WEEK));//1-7
        cal.set(cal.get(Calendar.YEAR),9,1);
        System.out.println(cal.getTime());

    }
}
